package cn.gov.msa.dao;

import java.util.List;
import java.util.Map;

import cn.gov.msa.model.*;

public interface MenuMapper {
    int deleteByPrimaryKey(String menuid);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(String menuid);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> findLeftMenu(String menufid)throws Exception;

	List<Menu> findMenu(Menu menu)throws Exception;
	
	List<Menu> selectFid()throws Exception;
	
	List<Menu> selectChild()throws Exception;
	
	List<Menu> selectFidOne(String name);
	List<Menu> queryMenu(String userId);
	
	Menu selectName(String menufid);
}